define(['app'], function(app) {
	'use strict';

	var controller = function controller($scope, Mygroupbuy_dealer,GoPage) {
		$scope.init_data = function(){
			Mygroupbuy_dealer.group_dealer(function(data){
				$scope.datas = data;
				
			})
		}
		$scope.init_data();
	}

	controller.$inject = ['$scope', 'Mygroupbuy_dealer','GoPage'];
	
	return app.registerController("mygroupbuy_dealerctrl",controller);
});